package com.fasteat.menu.handler;

import com.fasteat.common.entity.Result;
import com.fasteat.menu.service.client.UserClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author run
 * @since 2021/2/23 11:46
 */
@Component
public class UserFallback implements UserClient {
    @Override
    public Result getAuthorVos(List<String> authorIds) {
        return Result.error("服务繁忙，无法获取菜谱信息");
    }
}
